Process, Exist, League of Legends.exe
NewPid := ErrorLevel
if NewPid
{
    MsgBox, game run
}
Else
{
    MsgBox, no game
}